package com.hpch.business.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 荣誉资质
 *
 * @author Lly
 * @since 2025-03-06 11:39:01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Honor对象", description = "荣誉资质")
@TableName("bus_honor")
public class Honor implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "是否删除")
    @TableLogic
    private Integer deleted;

    private Date createTime;

    private Date updateTime;

    private Integer tenantId;

    @ApiModelProperty(value = "sys_user表id")
    private Integer userId;

    @ApiModelProperty(value = "u_user 表id")
    private Integer uId;

    @ApiModelProperty(value = "产品名称")
    private String title;

    @ApiModelProperty(value = "缩略图")
    private String thumb;

    @ApiModelProperty(value = "简述")
    private String sketchs;

    @ApiModelProperty(value = "排序")
    private Integer listorder;

    @ApiModelProperty(value = "状态 0 正常 1 隐藏")
    private Integer statusFlag;

    // 所属企业名称
    @ApiModelProperty(value = "所属企业名称")
    @TableField(exist = false)
    private String companyName;

}
